package com.pe.service.response.user;

import com.pe.service.param.user.RegisterServiceParam;
import com.pe.service.response.IServiceResponse;

public class RegisterResponse implements IServiceResponse<RegisterServiceParam> {
	
	String status;
	String serviceName;
	
	public static LoginResponse getInstance(){
		LoginResponse loginResponse = new LoginResponse();
		return loginResponse;
	}
	
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getServiceName() {
		return serviceName;
	}
	public void setServiceName(String serviceName) {
		this.serviceName = serviceName;
	}
	

	@Override
	public void generateFailureResponse(RegisterServiceParam serviceParam,
			Object responseAttr) {
		this.setStatus("failed");
		this.setServiceName("login");

	}

	@Override
	public void generateSuccessResponse(RegisterServiceParam serviceParam,
			Object responseAttr) {
		this.setStatus("ok");
		this.setServiceName("login");

	}

}
